<?php

# 基本配置
return [
    [
        'name' => 'refund_examine_state',
        'title' => '退款审核',
        'component' => 'switches',
        'value' => 0,
        'extra'         => [
            'props' => [
                'activeValue' => 1,
                'inactiveValue' => 0,
                'activeText' => '不需要',
                'inactiveText' => '需要',
            ]
        ]
    ],
    [
        'name'          => 'transaction_freeze_period',
        'title'         => '交易冻结期（小时）',
        'value'         => '',
        'component'     => 'number',
        'extra'         => [
            'prompt' => [
                'text' => '交易冻结期（小时）, 0为不冻结（实时到账）',
            ],
            'props'     => [
                'min'   => 0,
                'controls' => false,
                'precision' => 0,
            ],
        ],
    ],
    [
        'name' => 'arrival_photo',
        'title' => '到达拍照',
        'component' => 'switches',
        'value' => 0,
        'extra'         => [
            'prompt' => [
                'text' => '技师到达服务地点后是否需要拍照',
            ],
            'props' => [
                'activeValue' => 0,
                'inactiveValue' => 1,
                'activeText' => '不需要',
                'inactiveText' => '需要',
            ]
        ]
    ],
    [
        'name' => 'arrival_photo_tips',
        'title' => '到达拍照提示',
        'component' => 'input',
        'value' => '',
        'extra'         => [
            'prompt' => [
                'text' => '技师到达服务地点后拍照提示',
            ],
            'props' => [
            ]
        ]
    ],
    [
        'name' => 'service_start_photo',
        'title' => '开始服务拍照',
        'component' => 'switches',
        'value' => 0,
        'extra'         => [
            'prompt' => [
                'text' => '技师开始服务前是否需要拍照',
            ],
            'props' => [
                'activeValue' => 0,
                'inactiveValue' => 1,
                'activeText' => '不需要',
                'inactiveText' => '需要',
            ]
        ]
    ],
    [
        'name' => 'service_start_photo_tips',
        'title' => '开始服务拍照提示',
        'component' => 'input',
        'value' => '',
        'extra'         => [
            'prompt' => [
                'text' => '技师开始服务前拍照提示',
            ],
            'props' => [
            ]
        ]
    ],
    [
        'name' => 'service_end_photo',
        'title' => '结束服务拍照',
        'component' => 'switches',
        'value' => 0,
        'extra'         => [
            'prompt' => [
                'text' => '技师结束服务前是否需要拍照',
            ],
            'props' => [
                'activeValue' => 0,
                'inactiveValue' => 1,
                'activeText' => '不需要',
                'inactiveText' => '需要',
            ]
        ]
    ],
    [
        'name' => 'service_end_photo_tips',
        'title' => '结束服务拍照提示',
        'component' => 'input',
        'value' => '',
        'extra'         => [
            'prompt' => [
                'text' => '技师结束服务前拍照提示',
            ],
            'props' => [
            ]
        ]
    ],
    [
        'name' => 'scan_qrcode_verification',
        'title' => '扫码核验',
        'component' => 'switches',
        'value' => 0,
        'extra'         => [
            'prompt' => [
                'text' => '技师上门服务前是否需要扫码核验才能开始服务',
            ],
            'props' => [
                'activeValue' => 1,
                'inactiveValue' => 0,
                'activeText' => '不需要',
                'inactiveText' => '需要',
            ]
        ]
    ],
    [
        'name' => 'to_shop_use',
        'title' => '到店使用',
        'component' => 'switches',
        'value' => 0,
        'extra'         => [
            'prompt' => [
                'text' => '开启后用户可在下单时选择到店使用',
            ],
            'props' => [
                'activeValue' => 1,
                'inactiveValue' => 0,
                'activeText' => '开启',
                'inactiveText' => '关闭',
            ]
        ]
    ],
];
